import { request } from '../../../../services/request';

// 搜索用户任务接口
export const searchUserTaskApi = async (params: any) => {
    try {
        const response = await request('app/work/searchUserTask', {
            method: 'POST',
            body: JSON.stringify(params)
        });
        return response;
    } catch (error) {
        console.error('搜索用户任务失败:', error);
        throw error;
    }
};
